package com;

import org.junit.Test;
import org.springframework.beans.factory.annotation.Autowired;

import com.context.WebContext;
import com.donate.api.entery.DonateUser;
import com.donate.api.entery.Result;
import com.donate.api.service.UserManagerService;

public class SpringTest extends BaseJunit4Test{

	@Autowired
	WebContext webContext;
	@Autowired
	UserManagerService userManagerService;
	
	@Test
	public void test() {
		DonateUser user = new DonateUser();
		user.setUserName("tom5");
		user.setSex("00");
		Result result = userManagerService.testDao(user);
		System.out.println(result.getMessage());
		System.out.println(result.getData());
	}
}
